export const imgerror = {
  inserted(el, { value }) {
    el.addEventListener('error', () => {
      // console.log(value)
      el.src = value
    })
  }
}
export const color = {
  inserted(el, binding) {
    el.style.color = binding.value
  }
}
